<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="./js/index.js"></script>
    <script
      type="text/javascript"
      src="http://ajax.googleapis.com/ajax/libs
/jquery/1.4.0/jquery.min.js"
    ></script>
  </head>
  <body>
    12121
    <script>
      // function requestData() {
      //   const xmlRequest = new XMLHttpRequest();
      //   xmlRequest.open(
      //     "GET",
      //     "http://10.1.2.127:8101/sysResourceApply/getSysResourceChildApplyInfo?id=49",
      //     true
      //   );
      //   xmlRequest.setRequestHeader("content-type", "application/json");
      //   xmlRequest.send(null);
      //   xmlRequest.onreadystatechange = function (e) {
      //     if (xmlRequest.readyState == 4 && xmlRequest.status == 200) {
      //       console.log(e, 12);
      //     } else {
      //       console.log("失败了");
      //     }
      //   };
      // }
      // requestData();
      function req() {
        $.get(
          "http://10.1.2.127:8101/sysResourceApply/getSysResourceChildApplyInfo?id=49",
          function (data, status) {
            console.log(data);
          }
        );
      }
      req();
    </script>
  </body>
</html>
